package com.redpack.quick.datasource.dao;

import com.redpack.quick.datasource.entity.TaskEntity;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.domain.Page;

/**
 * Created by shuttle on 4/2/18.
 */
public interface TaskDao extends CrudRepository<TaskEntity, Long> {
    Page<TaskEntity> findAll(Pageable pageable);
}
